package day9zy.yuan;

import day9zy.yuan.Circle;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class CircleTest {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
//        System.out.println(Math.random());
//        System.out.println(Math.pow(3,5));
//        System.out.println(Math.sin(0.5));

//        System.out.println(Math.max(0.5,0.6));

//        System.out.println("圆周率是"+Circle.pi);
//        Circle.print();
        Circle c=new Circle(2);
//        Circle c2=new Circle(1);
//        System.out.println("c1周长是:"+c.calcZhouchang());
//        System.out.println("c2的周长是:"+c2.calcZhouchang());
        c.pi=3.1;//!!!
        System.out.println("c1周长是:"+c.calcZhouchang());
        System.out.println("c1面积是:"+c.calcArea());
//        System.out.println("c2的周长是:"+c2.calcZhouchang());


    }
}
